﻿using System;

namespace ECommerce
{
	public partial class MyAccount : BasePage
	{
		protected void Page_Render(object sender, EventArgs e)
		{
			//if(!IsPostBack)
			//{
			this.Title = GetLocalResourceString("Ecommerce.PageTitle.MyAccount");
			//}
		}

		protected void Page_PreLoad(object sender, EventArgs e)
		{
			if (SiteContext.Current == null || SiteContext.Current.User == null)
			{
				Response.Redirect("~/Login.aspx");
			}
		}
	}
}
